package com.ruoyi.wx.service;

import com.ruoyi.wx.entity.PtScore;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.wx.entity.vo.PtScoreVO;
import org.springframework.web.multipart.MultipartFile;

/**
 * <p>
 * 实验成绩表 服务类
 * </p>
 *
 * @author moxiu
 * @since 2022-03-04
 */
public interface IPtScoreService extends IService<PtScore> {

    /**
     * 扫码打分
     * @param ptScoreVO 值
     * @return 成功与否
     */
    int scanCode(PtScoreVO ptScoreVO);

    /**
     * 搓完题目给打分
     * @param expId
     * @param score
     * @return
     */
    int createScore(Long expId, Double score);

}
